package com.xh.one2one.lesson.service;



import com.xh.one2one.lesson.bean.request.LessonInfoRequest;
import com.xh.one2one.lesson.bean.request.LessonInfoRequest;
import com.xh.one2one.lesson.model.LessonInfo;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 * 一对一备课 服务类
 * </p>
 *
 * @author tw
 * @since 2021-04-07
 */
public interface ILessonInfoService extends IBaseService<LessonInfo> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryLessonInfoPage(XhPage page, LessonInfoRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryLessonInfo(LessonInfoRequest bean);

    /**
     * 查询学生或者小组课
     * @param bean
     * @return
     */
    public List queryStudentOrGroups(LessonInfoRequest bean) throws Exception;

    List queryStudent(LessonInfoRequest bean);

    List queryLessons(LessonInfoRequest bean) throws Exception;

    LessonInfo getByThirdId(String thirdId);

    public List queryLessonAndStudent(LessonInfoRequest bean) throws Exception;

    /**
     * 小程序学员评价
     * @author 赵文博
     * @date 2021/6/16 15:21
     * @param bean
     * @return XhPage
     **/
    XhPage queryStudentEvaluate(XhPage page,LessonInfoRequest bean);
}
